<!--# layout("/common/layout.html",{"jsBase":"/js/cms/coreCompany/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">公司名称</label>
				<div class="layui-input-inline">
					<input type="text" id="name" name="name"  value="${coreCompany.name}"   class="layui-input"  lay-verify="required">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系人</label>
				<div class="layui-input-inline">
					<input type="text" id="linkman" name="linkman"  value="${coreCompany.linkman}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline">
					<input type="text" id="mobile" name="mobile"  value="${coreCompany.mobile}"   class="layui-input" lay-verify="phone">
				</div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">证件有效期</label>
                <div class="layui-input-inline">
                    <input type="text" name="youxiaoqi"  value="${coreCompany.youxiaoqi,'yyyy-MM-dd'}" class="layui-input input-date" readonly  lay-verify="required">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <label class="layui-form-label">营业执照</label>
        <!-- 业务对象得有一个字段保存附件id，假设是attachmentId  -->
        <layui:attachment name="yingyezhizhao" batchFileUUID="${coreCompany.yingyezhizhao!uuid()}" isNew="false" bizId="${coreCompany.id}" bizType="CoreCompany"  />
    </div>
    <div class="layui-row">
        <label class="layui-form-label">防雷检测资质</label>
        <!-- 业务对象得有一个字段保存附件id，假设是attachmentId  -->
        <layui:attachment name="zizhi" batchFileUUID="${coreCompany.zizhi!uuid()}" isNew="false" bizId="${coreCompany.id}" bizType="CoreCompany"  />
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
	<input type="hidden" name="delFlag" value=${coreCompany.delFlag} />
    <input type="hidden" name="id" value=${coreCompany.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var coreCompanyEdit = layui.edit
    coreCompanyEdit.init();
});
</script>
